@import './element-ui-custom.scss';
* {
  padding: 0;
  margin: 0;
  font-family: PingFang SC;
}

img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

// back-bars
.web-back-bars {
  width: 96%;
  height: 88px;
  display: flex;
  flex-direction: row;
  align-items: center;
  background-color: #fff;
  font-size: 36px;
  line-height: 88px;
  color: #333333;
  padding: 0 2%;
  &__icon {
    width: 21px;
    height: 37px;
    margin-right: 24px;
  }
  &__bednum {
    margin-right: 10px;
  }
}

// caption
.web-caption {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  align-items: flex-end;
  color: #333333;
  &__title {
    position: relative;
    padding-left: 10px;
    font-size: 32px;
    font-weight: bold;
    line-height: 45px;
    margin-right: 10px;
    &::before {
      content: '';
      position: absolute;
      top: 50%;
      left: 0;
      width: 6px;
      height: 30px;
      background: #388FFB;
      transform: translateY(-50%);
    }
  }
  &__subtitle {
    font-size: 28px;
    font-weight: 400;
    line-height: 40px;
  }
}


// button
.web-btn {
  font-size: 32px;
  line-height: 70px;
  border-radius: 10px;
  text-align: center;
}

.web-btn-primary {
  border: 2px solid #128FFD;
  background: #128FFD;
  color: #FFFFFF;
}

.web-btn-plain {
  border: 2px solid #128FFD;
  color: #128FFD;
}

// short button
.web-btn-short {
  width: 252px;
  height: 70px;
}
.web-btn-short__primary {
  @extend .web-btn;
  @extend .web-btn-short;
  @extend .web-btn-primary;
}
.web-btn-short__plain {
  @extend .web-btn;
  @extend .web-btn-short;
  @extend .web-btn-plain;
}

// long button
.web-btn-long {
  width: 368px;
  height: 70px;
}
.web-btn-long__primary {
  @extend .web-btn;
  @extend .web-btn-long;
  @extend .web-btn-primary;
}
.web-btn-long__plain {
  @extend .web-btn;
  @extend .web-btn-long;
  @extend .web-btn-plain;
}


// tag
.web-tag {
  height: 56px;
  line-height: 56px;
  border-radius: 10px;
  padding: 0 16px;
  font-size: 28px;
  font-weight: 400;
  margin-right: 40px;
}
.web-tag-default {
  background: rgba(56, 143, 251, 0.1);
  border: 1px solid #388FFB;
  color: #388FFB;
}

.web-tag-active {
  background: rgba(191, 20, 20, 0.2);
  border: 1px solid #CC4444;
  color: #CC4444;
}

.ellipsis {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}